package exercises.Test_4;

import java.util.Scanner;

public class People {
    public static void main(String[] args) {
        Calculator c=new Calculator();
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入a的值：");
        int a= sc.nextInt();
        System.out.print("请输入b的值：");
        int b= sc.nextInt();
        System.out.println("a+b的值为"+c.addition(a,b));
        System.out.println("a-b的值为"+c.subtraction(a,b));
        System.out.println("a*b的值为"+c.multiplication(a,b));
        System.out.println("a/b的值为"+c.division(a,b));
    }
}
